package com.ns.scs.rsr.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ns.core.vo.bs.BasicVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 资源响应实体
 *
 * @author liaowei
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class CategoryExtraVO extends BasicVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 类型
     */
    /**
     * 父级id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long pid;
    /**
     * 名称
     */
    private String name;

    /**
     * 编码
     */
    private String code;

    /**
     * 图集
     */
    private String img;

    /**
     * 所属租户
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long rid;
}
